package edu.sysu.demo.petstore.dog.key;

import edu.sysu.demo.petstore.dog.data.entity.Key.KeyType;
import java.security.GeneralSecurityException;
import java.security.Key;

public interface KeyService {

  void regenerate(String name) throws GeneralSecurityException;

  <T extends Key> T query(String name, KeyType keyType);
}
